using util
using web
using xml
using js_markup

const abstract class HtmlMod : WebMod {

  override Void onGet() {
    res.headers["Content-Type"] = "text/html; charset=utf-8"
    page := HtmlBuilder()
    page.adapter = XmlWriter(res.out)
    build(page)
  }

  abstract Void build(HtmlBuilder builder)
}
